<!--#include file="../nav/admin_top.php" -->
<!--#include file="../nav_menu/report_top.php" -->



<div class="menuBg">
	<a class="menuReturn" href="/admin_report/index">返回所有报表</a>
  <div style="clear:both"></div>
</div>
<div class="margin20">
	<div style="padding-bottom:5px;border-bottom:1px solid #999999;" >{$rpt.name}</div>
</div>
<div class="margin10">
	<fieldset style="border: 1px solid #ccc; padding: 20px;">
		<legend style="color: green">过滤条件</legend>
		<div id="filter_bar">
			<table class="filtertb" >
				<tr>
					<td class="filtertb_l" >
						<form action="/admin_report/result" method="post" id="form1" target="result_iframe">
							<input type="hidden" id="model" name="model" value="{$rpt.model}" />
							<input type="hidden" id="action" name="action" value="{$rpt.action}" />
							<input type="hidden" id="title" name="title" value="{$rpt.name}" />
							<input type="hidden" id="downloads" name="downloads" value="0" />
							<input type="hidden" id="searchdata" name="searchdata" value="" />
							<table class="searchtb"> 
								<tr>
									<th>配送批次：</th>
									<td>
										<select id="sendpi_id"  class="textBox" >
											<?PHP
											foreach($rs as $v){
												echo '<option value="'.$v['id'].'">'.$v['code'].'('.$v['senddate'].')</option>';
											}
											?>							
										</select>
									</td>
								</tr>
							</table>
						</form>
					</td>
					<td class="filtertb_r">
						<button onclick="fnView()">预览</button>
						<button onclick="fnExport()" style="margin-left:20px">导出报表 </button>
					</td>
				</tr>
			</table>
			
<!--			<table border="1">
				<tr>
					<td colspan="4" style="height:50px;text-align:center;font-size:16px;font-weight:bold;">田园会|会员出货单</td>
					<td colspan="1" style="text-align:center;font-size:16px;font-weight:bold;background-color:#FDE9D9;width:150px;">公司存根单</td>
				</tr>
				<tr>
					<td colspan="1" style="width:100px;">配送批次编号：</td>
					<td colspan="3"> </td>
					<td colspan="1" style="background-color:#FDE9D9">配送批次编号：</td>
				</tr>
				<tr>
					<td colspan="1" style="width:100px;">会员姓名：</td>
					<td colspan="1" style="width:150px;"> </td>
					<td colspan="1" style="width:150px;">会员编号：</td>
					<td colspan="1" style="width:150px;"> </td>
					<td colspan="1" style="background-color:#FDE9D9"> </td>
				</tr>
				<tr>
					<td colspan="1">配送日期：</td>
					<td colspan="1"> </td>
					<td colspan="1">配送时段：</td>
					<td colspan="1"> </td>
					<td colspan="1" style="background-color:#FDE9D9">质检员：</td>
				</tr>
				<tr>
					<td colspan="1" style="text-align:center;background-color:#BFBFBF;">序号</td>
					<td colspan="1" style="text-align:center;background-color:#BFBFBF;">品类</td>
					<td colspan="1" style="text-align:center;background-color:#BFBFBF;">菜品</td>
					<td colspan="1" style="text-align:center;background-color:#BFBFBF;">份数</td>
					<td colspan="1" style="background-color:#FDE9D9"> </td>
				</tr>
				
				
				
				
				
				<tr>
					<td colspan="1">1</td>
					<td colspan="1"> 根茎菜 </td>
					<td colspan="1"> 丝瓜 </td>
					<td colspan="1"> 1 </td>
					<td colspan="1" style="background-color:#FDE9D9"> 发货员： </td>
				</tr>
				<tr>
					<td colspan="1">2</td>
					<td colspan="1"> 根茎菜 </td>
					<td colspan="1"> 丝瓜 </td>
					<td colspan="1"> 1 </td>
					<td colspan="1" style="background-color:#FDE9D9">   </td>
				</tr>
				<tr>
					<td colspan="1">3</td>
					<td colspan="1"> 根茎菜 </td>
					<td colspan="1"> 丝瓜 </td>
					<td colspan="1"> 1 </td>
					<td colspan="1" style="background-color:#FDE9D9"> 配送员： </td>
				</tr>
				<tr>
					<td colspan="1">4</td>
					<td colspan="1"> 根茎菜 </td>
					<td colspan="1"> 丝瓜 </td>
					<td colspan="1"> 1 </td>
					<td colspan="1" style="background-color:#FDE9D9">   </td>
				</tr>
				<tr>
					<td colspan="1">5</td>
					<td colspan="1"> 根茎菜 </td>
					<td colspan="1"> 丝瓜 </td>
					<td colspan="1"> 1 </td>
					<td colspan="1" style="background-color:#FDE9D9">是否需要借用保温箱</td>
				</tr>
				<tr>
					<td colspan="1">6</td>
					<td colspan="1"> 根茎菜 </td>
					<td colspan="1"> 丝瓜 </td>
					<td colspan="1"> 1 </td>
					<td colspan="1" style="background-color:#FDE9D9">是口    否口</td>
				</tr>
				<tr>
					<td colspan="1">7</td>
					<td colspan="1"> 根茎菜 </td>
					<td colspan="1"> 丝瓜 </td>
					<td colspan="1"> 1 </td>
					<td colspan="1" style="background-color:#FDE9D9">会员签收</td>
				</tr>
				<tr>
					<td colspan="1">&nbsp; </td>
					<td colspan="1">   </td>
					<td colspan="1">   </td>
					<td colspan="1">   </td>
					<td colspan="1" style="border:0;background-color:#FDE9D9"> </td>
				</tr>
				<tr>
					<td colspan="1">&nbsp; </td>
					<td colspan="1">   </td>
					<td colspan="1">   </td>
					<td colspan="1">   </td>
					<td colspan="1" style="border:0;background-color:#FDE9D9"> </td>
				</tr>
				<tr>
					<td colspan="1">&nbsp; </td>
					<td colspan="1">   </td>
					<td colspan="1">   </td>
					<td colspan="1">   </td>
					<td colspan="1" style="border:0;background-color:#FDE9D9"> </td>
				</tr>
				<tr>
					<td colspan="1">&nbsp; </td>
					<td colspan="1">   </td>
					<td colspan="1">   </td>
					<td colspan="1">   </td>
					<td colspan="1" style="border:0;background-color:#FDE9D9"> </td>
				</tr>
				
				
				
				
				
				
				<tr>
					<td colspan="1">所属区域：</td>
					<td colspan="1"> </td>
					<td colspan="1">收货地址：</td>
					<td colspan="1"> </td>
					<td colspan="1" style="border:0;background-color:#FDE9D9"> </td>
				</tr>
				<tr>
					<td colspan="1">收货联系人：</td>
					<td colspan="1"> </td>
					<td colspan="1">联系电话：</td>
					<td colspan="1"> </td>
					<td colspan="1" style="border:0;background-color:#FDE9D9"> </td>
				</tr>
				<tr>
					<td colspan="1">紧急联系人：</td>
					<td colspan="1"> </td>
					<td colspan="1">联系电话：</td>
					<td colspan="1"> </td>
					<td colspan="1" style="border:0;background-color:#FDE9D9"> </td>
				</tr>
				<tr>
					<td colspan="1" style="text-align:center;font-size:14px;font-weight:bold;">签收须知</td>
					<td colspan="3" style="height:100px;">请您当场与田园牧歌送货人员确认实际送货商品与出货单商品明细是否一致，检查商品有无质量问题，确认完毕后在送货单右下方签字确认。您或您委托收货人的签字表示您对商品数量及质量无异议。商品签收后请妥善保存，如因保存不善发生质量问题，田园牧歌有权不接受以此为由的退换货。如果您需要借用蔬菜保温箱，请在签名栏上方勾选，我们的配送人员会在下次为您配送蔬菜时回收保温箱。</td>
					<td colspan="1" style="border:0;background-color:#FDE9D9"> </td>
				</tr>
			</table>-->
			
			
		</div>
	</fieldset>				
</div>
<div class="report_outer">
	<div id="result_div">
		<iframe id="result_iframe" name="result_iframe" style="width:950px;height:450px;border:1px dashed #CCCCCC;"></iframe>
	</div>
</div>
<script type="text/javascript">
$().ready(function(){
 
}); 
function fnGetSearchData(){
	var ret={
		sendpi_id:$('#sendpi_id').val()
	};
	return JSON.encode(ret);
}
</script>
<!--#include file="../nav/admin_bottom.php" -->